Crate radicle_surf
source ·Expand description
radicle-surf
is a library to help users explore a Git repository with
ease. It supports browsing a repository via the concept of files and
directories, or via blobs and trees in a git fashion. With the additional
support of diff::Diff
and History
, this library can be used to build
an intuitive UI for any Git repository.
The main entry point of the library API is Repository
.
Let’s start surfing!
§Serialization with feature serde
Many types in this crate support serialization using Serde
through the serde
feature flag for this crate.
Re-exports§
pub use radicle_git_ext::ref_format;
Modules§
- Represents git object type ‘blob’, i.e. actual file contents. See git doc for more details.
- Types that represent diff(s) in a Git repo.
- Definition for a file system consisting of
Directory
andFile
. - Represents git object type ‘tree’, i.e. like directory entries in Unix. See git doc for more details.
Structs§
- Represents the authorship of actions in a git repo.
Commit
is the metadata of a Git commit.- A collection of globs for a git reference type.
- An iterator that produces the history of commits for a given
head
. - A
Local
represents a local branch, i.e. it is a reference underrefs/heads
. - A
Namespace
value allows us to switch the git namespace of a repo. - A
Remote
represents a remote branch, i.e. it is a reference underrefs/remotes
. - Represents the state associated with a Git repository.
- The signature of a commit
- Stats for a repository
- Time used in the authorship of an action in a git repo.
Enums§
- The crate level error type that wraps up module level error types.
- The metadata of a
Git tag
.
Traits§
- Supports various ways to specify a revision used in Git.
- A common trait for anything that can convert to a
Commit
.
Type Aliases§
- Represents an object id in Git. Re-exported from
radicle-git-ext
.